package(default_visibility = ["//visibility:public"])

licenses(["notice"])

load(
    "@io_bazel_rules_go//go:def.bzl",
    "go_library",
)

go_library(
    name = "go_default_library",
    srcs = [
        "factory.go",
        "generic.go",
    ],
    tags = ["automanaged"],
    deps = [
        "//pkg/api:go_default_library",
        "//pkg/api/v1:go_default_library",
        "//pkg/apis/apps:go_default_library",
        "//pkg/apis/apps/v1beta1:go_default_library",
        "//pkg/apis/autoscaling:go_default_library",
        "//pkg/apis/autoscaling/v1:go_default_library",
        "//pkg/apis/batch:go_default_library",
        "//pkg/apis/batch/v1:go_default_library",
        "//pkg/apis/batch/v2alpha1:go_default_library",
        "//pkg/apis/certificates:go_default_library",
        "//pkg/apis/certificates/v1beta1:go_default_library",
        "//pkg/apis/extensions:go_default_library",
        "//pkg/apis/extensions/v1beta1:go_default_library",
        "//pkg/apis/policy:go_default_library",
        "//pkg/apis/policy/v1beta1:go_default_library",
        "//pkg/apis/rbac:go_default_library",
        "//pkg/apis/rbac/v1alpha1:go_default_library",
        "//pkg/apis/rbac/v1beta1:go_default_library",
        "//pkg/apis/storage:go_default_library",
        "//pkg/apis/storage/v1beta1:go_default_library",
        "//pkg/client/clientset_generated/clientset:go_default_library",
        "//pkg/client/clientset_generated/internalclientset:go_default_library",
        "//pkg/client/informers/informers_generated/apps:go_default_library",
        "//pkg/client/informers/informers_generated/autoscaling:go_default_library",
        "//pkg/client/informers/informers_generated/batch:go_default_library",
        "//pkg/client/informers/informers_generated/certificates:go_default_library",
        "//pkg/client/informers/informers_generated/core:go_default_library",
        "//pkg/client/informers/informers_generated/extensions:go_default_library",
        "//pkg/client/informers/informers_generated/internalinterfaces:go_default_library",
        "//pkg/client/informers/informers_generated/policy:go_default_library",
        "//pkg/client/informers/informers_generated/rbac:go_default_library",
        "//pkg/client/informers/informers_generated/storage:go_default_library",
        "//vendor:k8s.io/apimachinery/pkg/runtime",
        "//vendor:k8s.io/apimachinery/pkg/runtime/schema",
        "//vendor:k8s.io/client-go/tools/cache",
    ],
)

filegroup(
    name = "package-srcs",
    srcs = glob(["**"]),
    tags = ["automanaged"],
    visibility = ["//visibility:private"],
)

filegroup(
    name = "all-srcs",
    srcs = [
        ":package-srcs",
        "//pkg/client/informers/informers_generated/apps:all-srcs",
        "//pkg/client/informers/informers_generated/autoscaling:all-srcs",
        "//pkg/client/informers/informers_generated/batch:all-srcs",
        "//pkg/client/informers/informers_generated/certificates:all-srcs",
        "//pkg/client/informers/informers_generated/core:all-srcs",
        "//pkg/client/informers/informers_generated/extensions:all-srcs",
        "//pkg/client/informers/informers_generated/internalinterfaces:all-srcs",
        "//pkg/client/informers/informers_generated/policy:all-srcs",
        "//pkg/client/informers/informers_generated/rbac:all-srcs",
        "//pkg/client/informers/informers_generated/storage:all-srcs",
    ],
    tags = ["automanaged"],
)
